package top.lt.lt_ssm.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import top.lt.lt_ssm.bean.finance;
import top.lt.lt_ssm.dao.financeDao;
import top.lt.lt_ssm.service.financeService;

@Service
public class financeServiceImp implements financeService{
	@Resource
	private financeDao financeDao;

	@Override
	public List<finance> getAllFinance() {
		return financeDao.getAllFinance();
	}

	@Override
	public finance getByFinId(int FinId) {
	return financeDao.getByFinId(FinId);
	}

	@Override
	public List<finance> Mh(String un) {
		return financeDao.Mh(un);
	}

	@Override
	public List<finance> Dx(int pc) {
		return financeDao.Dx(pc);
	}
	
}
